$strName = Fs.ShortName ("<path>")
Returns a unique shortname of the given file/folder used by programs that require 8.3 naming convention.
Parameters
<path> The path of the file/folder.
Return Value
If successful, returns a string, else returns an empty string.
Remarks
- The property is read-only.
- Folders with relative or absolute paths are also acceptable.
Example
$s = "C:\Interactive Voice Response System\IVRS file 34\"
$ret = fs.ShortName($s)
- $ret contains C:\INTERA~1\IVRSFI~1.